package com.qf.sy2103.ssm.Dao;


import com.qf.sy2103.ssm.entity.Client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientDao {

    //获取分页展示数据的方法
    List<Client> getAllClient(Client client);
    //向客户表中添加数据
    int addClient(Client client);
    //删除客户表中的数据
    int deleteClient(@Param("ids") List<Integer> ids);
    //根据nickname查询是否存在客户
    Client seleteClient(@Param("username") String username);

    int updateCilent(Client client);
}
